package day0509;

public class Test2 {
    public static void main(String[] args) {
        //1.定义一个变量score表示成绩94.3
        double score=94.3;
        //2.分支结构判断等级
        if(90 <score   &&  score< 100){
            System.out.println("优秀");
        }else if(90 <score   &&  score< 100){
            System.out.println("良好");
        }else if(60 <score   &&  score< 75){
            System.out.println("中等");
        }else if(0 <score   &&  score< 60){
            System.out.println("不及格");
        }else{
            System.out.println("成绩不合法");
        }

    }
}
